package com.qz.c2;

public class stu {
    String name;
    int id;
    int age;
    String gender;
    double cost;
    //初始化成员变量对象
    public stu(String name, int id, int age, String gender, double cost) {
        this.name = name;
        this.id = id;
        this.age = age;
        this.gender = gender;
        this.cost = cost;
    }
}
